package labeler

import "gitee.com/wcs2/common/enums"

type LabelingReqStatusStruct struct {
	Created   enums.PositionEnum
	HiCreated enums.PositionEnum
	Sended    enums.PositionEnum
	Received  enums.PositionEnum
	Started   enums.PositionEnum
	Finished  enums.PositionEnum
	Error     enums.PositionEnum
}

// 打印任务状态枚举
var LabelingReqStatusEnum = &LabelingReqStatusStruct{
	Created: enums.PositionStruct{
		Code:    "CREATED",
		Des:     "已创建",
		PlcCode: 0,
	}, HiCreated: enums.PositionStruct{
		Code:    "HI_CREATED",
		Des:     "人工创建",
		PlcCode: 1,
	}, Sended: enums.PositionStruct{
		Code:    "SENDED",
		Des:     "已发送请求",
		PlcCode: 2,
	}, Received: enums.PositionStruct{
		Code:    "RECEIVED",
		Des:     "已接收",
		PlcCode: 3,
	}, Started: enums.PositionStruct{
		Code:    "STARTED",
		Des:     "已启动",
		PlcCode: 4,
	}, Finished: enums.PositionStruct{
		Code:    "FINISHED",
		Des:     "任务已完成",
		PlcCode: 10,
	}, Error: enums.PositionStruct{
		Code:    "ERROR",
		Des:     "任务失败",
		PlcCode: 20,
	},
}
